<LayoutTableSmall>
    <!-- 顶部 -->
    <template slot="top"></template>
    <!-- 其他 -->
    <template slot="other"></template>
    <!-- 搜索 -->
    <template slot="search">
    </template>
    
    <!-- 功能 -->
    <template slot="function">
        <el-form :inline="true" label-position="left" label-width="80px" :model="mixinList_refreshData">
            <el-form-item>
                <el-radio-group v-model="mixinList_tableSearchData.templateType" @change="mixinList_refreshData">
                    <el-radio-button :label="item.value" v-for="(item,index) in templateList">{{item.name}}</el-radio-button>
                </el-radio-group>
            </el-form-item>
        </el-form>
    </template>
    <!-- 表格 -->
    <template slot="table">

        <el-table v-loading="mixinList_loading" :data="mixinList_tableData" border style="width: 100%;"
            :ref="mixinPage_vueName+'TableSmall'" height="100%"
            @selection-change="mixinList_handleSelectionChangeTableSmall" :tree-props="{children: 'children'}"
            row-key="id">
            <el-table-column type="index" width="50" :index="mixinList_indexMethod" fixed align="center" label="#">
            </el-table-column>
            <el-table-column prop="templateName" label="数据标签"></el-table-column>

            <el-table-column prop="remark" label="备注信息" width="180"></el-table-column>
            <el-table-column label="操作" width="260" align="center">
                <template slot-scope="scope">
                    <el-button type="primary" v-if="isSelect(scope.row)">已选</el-button>
                    <el-button @click="select(scope.row)" v-else>选择</el-button>
                </template>
            </el-table-column>


        </el-table>

    </template>

    <!-- 分页 -->
    <template slot="options">
        <el-pagination class="paginationStyle" v-if="mixinList_pageData.total>0" background
            @current-change="mixinList_pagingData($event,'tableData')" :current-page="mixinList_pageData.pageNum"
            :page-size.sync="$vFN.Constants.pageSize" layout="total, prev, pager, next,jumper"
            :total.sync="mixinList_pageData.total">
        </el-pagination>
    </template>
</LayoutTableSmall>